package com.jt.dao;

import com.jt.entity.Attendance;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.session.RowBounds;

import java.util.List;

@Mapper
public interface AttendanceMapper {
    Attendance queryById(Integer id);

    Integer add(Attendance attendance);

    List<Attendance> queryInfo(String info);

    Integer  delete(@Param("id")  Integer id);

    Integer update(Attendance attendance);

    List<Attendance> queryAll(RowBounds rowBounds);

    List<Attendance> query();

    Integer count();
}
